package com.hxzy.shop.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;


@Component
@ConfigurationProperties("rsa")
public class RSAProperties implements Serializable {

    private static final long serialVersionUID = -1706215375196802674L;

    /**
     * 私钥Hex
     */
    private String privateKeyStr;
    /**
     * 公钥Hex
     */
    private String publicKeyStr;

    public String getPrivateKeyStr() {
        return privateKeyStr;
    }

    public void setPrivateKeyStr(String privateKeyStr) {
        this.privateKeyStr = privateKeyStr;
    }

    public String getPublicKeyStr() {
        return publicKeyStr;
    }

    public void setPublicKeyStr(String publicKeyStr) {
        this.publicKeyStr = publicKeyStr;
    }
}
